package com.ztc.ZtcCtripData.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.aqgj.util.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "ztc_ctrip_data")
public class ZtcCtripData implements BaseEntity {

    private String id;//ä¸»é”®

    private String fromCity;//出发城市

    private String toCity;//到达城市

    private String fromStation;//出发车站

    private String toStation;//到达车站

    private java.util.Date departureDate;//å�‘è½¦æ—¶é—´

    private String carType;//è½¦è¾†ç±»åž‹

    private String fkOrderId;//è®¢å�•ID

    private String ctripOrderNumber;//æ�ºç¨‹è®¢å�•å�·

    private String ctripOrderId;//æ�ºç¨‹è®¢å�•ID

    public void setId(String value){
        this.id = value;
    }
    public void setFromCity(String value){
        this.fromCity = value;
    }
    public void setToCity(String value){
        this.toCity = value;
    }
    public void setFromStation(String fromStation) {
        this.fromStation = fromStation;
    }
    public void setToStation(String toStation) {
        this.toStation = toStation;
    }
    public void setDepartureDate(java.util.Date value){
        this.departureDate = value;
    }
    public void setCarType(String value){
        this.carType = value;
    }
    public void setFkOrderId(String value){
        this.fkOrderId = value;
    }
    public void setCtripOrderNumber(String value){
        this.ctripOrderNumber = value;
    }
    public void setCtripOrderId(String value){
        this.ctripOrderId = value;
    }
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="from_city",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getFromCity(){
        return this.fromCity;
    }
    @Column(name ="to_city",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getToCity(){
        return this.toCity;
    }
    @Column(name ="from_station",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getFromStation() {
        return fromStation;
    }
    @Column(name ="to_station",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getToStation() {
        return toStation;
    }
    @Column(name ="departure_date",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getDepartureDate(){
        return this.departureDate;
    }
    @Column(name ="car_type",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getCarType(){
        return this.carType;
    }
    @Column(name ="fk_order_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkOrderId(){
        return this.fkOrderId;
    }
    @Column(name ="ctrip_order_number",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getCtripOrderNumber(){
        return this.ctripOrderNumber;
    }
    @Column(name ="ctrip_order_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getCtripOrderId(){
        return this.ctripOrderId;
    }


} 
